[doc/acl]: Add TC_ACTION (set traffic class) ACL rule action#2432
Open
AnantKishorSharma wants to merge 1 commit into
Open
[doc/acl]: Add TC_ACTION (set traffic class) ACL rule action#2432AnantKishorSharma wants to merge 1 commit into
AnantKishorSharma wants to merge 1 commit into
Conversation
This was referenced Jul 1, 2026
Document the TC_ACTION ACL rule action added in sonic-swss: it programs SAI_ACL_ENTRY_ATTR_ACTION_SET_TC to set the traffic class of matched packets, is gated by the per-stage ASIC action capability published in ACL_STAGE_CAPABILITY_TABLE, and is a composable (additive) action that AclRulePacket::validate() excludes from its single exclusive-action check. Bump the ACL HLD revision to 1.2. Signed-off-by: Anant Kishor Sharma <anant.kishor-sharma@hpe.com>
ea57c57 to
63f0ea0
Compare
Collaborator
|
/azp run |
|
No pipelines are associated with this pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
Document the new
TC_ACTIONACL rule action (set traffic class) in the ACL High Level Design.How I did it
TC_ACTION->SAI_ACL_ENTRY_ATTR_ACTION_SET_TC(realized byAclRulePacket, gated by the per-stage ASIC action capability published in STATE_DBACL_STAGE_CAPABILITY_TABLE, with no behavior change for existing platforms), plus a paragraph on its composability: an additive action thatAclRulePacket::validate()excludes from the single exclusive-action check, so a rule may set the traffic class alone or together with a forwarding action and/or a counter.tc_actionkeyword to Appendix A.Related PRs: